mysqli_query SELECT FROM WHERE [ partial match ] ?

Posted by user296516 on Stack Overflow See other posts from Stack Overflow or by user296516
Published on 2010-06-10T18:49:50Z Indexed on 2010/06/10 19:02 UTC
Read the original article Hit count: 217

Filed under:
|

Hi guys, I have a database that a time filed that is stored in this format "2010.06.04. | 18:53 01". What I need is to select rows that have a specific date, for example "2010.06.04."

Right now I am doing it my first selecting all rows and then looping through them and adding ones with the specified date to a new array.

Maybe there is an easier way to do it and I somehow can select it using mysqli_query?

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql